<script type="text/javascript" src="${base}/scripts/zjgl/xyz_content.js"></script>
<form id="form_xyz" action="" method="post">
    <input name="xyz.id" type="hidden" value="${(xyz.id)!''}"/>
    <table style="width:100%" class="tb tab-t">
        <col width="17.5%"/><col width="32.5%"/><col width="17.5%"/><col width="32.5%"/>
        <tr>
            <th style="color:#f45212;">公司名称：</th>
            <td>
                <input id="xyz_nbgs_id" name="xyz.nbgs.id" type="input-text" value="${(xyz.nbgs.id)!''}" class="easyui-combotree input-text "
                       required="true" data-options="url:'${base}/organ/gsjg/gsjg_tree?type=1',panelHeight:'200',editable:'true',lines:'true'"/>
            </td>
            <th style="color:#f45212;">出证银行：</th>
            <td>
                <#if xyz?? &&xyz.xyzsflx?? && xyz.xyzsflx==0 >
                    <input name="xyz.xyzsflx" type="hidden" value="0"/>
                    <input   name="xyz.ysczyh" class=" input-text " type="text"
                            required="true"  value="${(xyz.ysczyh)!''}"/>
                <#else>
                    <input name="xyz.xyzsflx" type="hidden" value="1"/>
                    <input id="xyz_yfczyh_id" name="xyz.yfczyh.id" type="input-text" value="${(xyz.yfczyh.id)!''}" class="easyui-combobox input-text "
                           required="true"  data-options="url:'${base}/organ/khh/khhmcList',panelHeight:'200',editable:'true',valueField:'id',textField:'qc'"/>
                </#if>
            </td>
        </tr>
        <tr>
            <th > 信用证号码：</th>
            <td>
                <input  name="xyz.xyzhm" class="easyui-validatebox input-text"
                        validType="remote['${base}/zjgl/xyz/ajax_validate?xyzId=${(xyz.id)!}',{'validateField':'xyzhm'},'信用证号码不能重复！']"
                        value="${(xyz.xyzhm)!''}" />
            </td>
            <th > 月利率(%)：</th>
            <td>
                <input  id="xyz_yll" name="xyz.yll" class="easyui-numberbox input-text " type="text"
                        data-options="min:0,precision:2" value="${(xyz.yll)!''}"/>
            </td>
        </tr>
        <tr>
            <th > 证面金额：</th>
            <td>
                <input id="xyz_dqje" name="xyz.dqje" class="easyui-numberbox input-text " type="text"
                       data-options="min:0,precision:2" value="${(xyz.dqje)!''}"/>
            </td>
            <#--<th > 保证金比例(%)：</th>-->
            <#--<td>-->
                <#--<input  name="xyz.bzjbl" class="easyui-numberbox input-text" type="input-text"-->
                         <#--value="${(xyz.bzjbl)!'0'}"  />-->
            <#--</td>-->
            <th > 利息额：</th>
            <td>
                <input  name="xyz.lxe" class="easyui-numberbox input-text" type="input-text"
                        data-options="min:0,precision:2" value="${(xyz.lxe)!''}"  />
            </td>
        </tr>
        <tr>
            <th >借款日：</th>
            <td>
                <input id="xyz_jkrq" name="xyz.jkrq"
                       class="easyui-datebox input-text " type="input-text" value="${(xyz.jkrq)!}"/>
            </td>
            <th >到期日：</th>
            <td>
                <input id="xyz_dqrq" name="xyz.dqrq"
                       class="easyui-datebox input-text " type="input-text" value="${(xyz.dqrq)!}"/>
            </td>
        </tr>
        <tr>
            <th > 付息方：</th>
            <td><label><input type="radio"  name="xyz.sfwffx" value="0"  checked
                              style="vertical-align:middle">我方付息</label>&nbsp;
                <label><input type="radio"  name="xyz.sfwffx" value="1"  <#if (xyz.sfwffx)?? && (xyz.sfwffx)==1>checked</#if>
                              style="vertical-align:middle">他方付息</label>&nbsp;
            </td>
            <th>备注：</th>
            <td>
                <input name="xyz.bz" class="input-text" type="input-text" value="${(xyz.bz)!}"/>
            </td>
        </tr>
    <#if xyz?? &&xyz.xyzsflx?? && xyz.xyzsflx==0 >
        <tr>
            <th>收款人：</th>
            <td>
                <input name="xyz.skr" class="input-text" type="input-text" value="${(xyz.skr)!}"/>
            </td>
            <th>出证人：</th>
            <td>
                <input name="xyz.czr" class="input-text" type="input-text" value="${(xyz.czr)!}"/>
            </td>
        </tr>
    </#if>
        <tr>
            <th > 开证费：</th>
            <td> <input name="xyz.kzf" class="easyui-numberbox input-text" data-options="min:0,precision:2"
                        type="input-text" value="${(xyz.kzf)!}"/>
            </td>
            <th > 保证金金额：</th>
            <td> <input name="xyz.bzj" class="easyui-numberbox input-text"
                        data-options="min:0,precision:2" type="input-text" value="${(xyz.bzj)!}"/>
            </td>
        </tr>
    </table>
</form>


